Make sure the binding shown by echo-keystrokes-help is not shadowed
authorDmitry Gutov <dmitry@gutov.dev>
Sun, 11 Feb 2024 20:32:44 +0000 (22:32 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Sun, 11 Feb 2024 20:34:41 +0000 (22:34 +0200)
commitc0f656617d6848b94413b79b390788565d338fcd
treec369400e3b53318e66b10553f02b7e865559b96e
parentfaa46eb8667c11a0725500a50e957eb78021c99f
Make sure the binding shown by echo-keystrokes-help is not shadowed

And choose just one binding to display rather than two together.
(https://lists.gnu.org/archive/html/emacs-devel/2024-02/msg00311.html)

* lisp/help.el (help--append-keystrokes-help): New function.

* src/keyboard.c (syms_of_keyboard): Add a symbol for it.
(echo_dash): Use them here.
lisp/help.el
src/keyboard.c